import request from '@/util/request'

export function listDeviceBindParent(data) {
  return request({
    url: '/iot/device/bind/listParent',
    method: 'post',
    data
  })
}

export function listDeviceBindChild(data) {
  return request({
    url: '/iot/device/bind/listChild',
    method: 'post',
    data
  })
}

export function listDeviceBindChildDevice(data) {
  return request({
    url: '/iot/device/bind/listChildDevice',
    method: 'post',
    data
  })
}

export function deleteDeviceBind(data) {
  return request({
    url: '/iot/device/bind/delete',
    method: 'post',
    data
  })
}

export function insertDeviceBind(data) {
  return request({
    url: '/iot/device/bind/insert',
    method: 'post',
    data
  })
}

